package com.service.business.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.service.business.order.controller.rep.OrderProductOtherDetailsRep;
import com.service.dao.model.OrderProductOther;
import com.service.dao.model.OrderProductOtherDetails;
import com.service.business.order.dto.ProductOtherCar;

import java.util.List;

/**
 * 算力订单详情
 *
 * @author xxxx
 * @email xxxx@qq.com
 * @date 2019-11-10 22:06:11
 */
public interface OrderProductOtherDetailsService extends IService<OrderProductOtherDetails> {

    void createProductOrderDetail(List<ProductOtherCar> productOtherCar, OrderProductOther orderProductOther);


    Integer getProductOtherBuyNum(Integer memberId, Integer productId, List<Integer> buyStatus);

    List<OrderProductOtherDetailsRep> listByOrderId(Integer orderId);

}

